<script setup>

import { ArrowRight } from '@element-plus/icons-vue'

defineProps({
  text: {
    type: String,
    default: '查看更多'
  }
})
const emit=defineEmits({
  click: null
})
const onClick = () => {
  emit('click')
}
</script>

<template>
  <el-button plain round size="small" type="info" @click="onClick">{{ text }}
    <el-icon class="el-icon--right">
      <ArrowRight />
    </el-icon>
  </el-button>
</template>

<style lang="scss" scoped>

</style>